<link rel="stylesheet" href="appindexcontent/css/index_content.css">
<link rel="stylesheet" href="css/suredy-tree.css">
<div class="container-fluid index-content">
	<div class="row">
		<div class="col-md-8 left-content">
			<div class="panel panel-danger suredy-widget-panel" data-uri="todo/index_list.do">
				<div class="panel-heading suredy-widget-panel-heading">
					<i class="icon-bell-alt">
						<i>&nbsp;我的待办&nbsp;</i>
						<span class="badge suredy-widget-panel-count">0</span>
					</i>
					<a href="#" class="text-danger pull-right icon-refresh suredy-widget-panel-refresh"></a>
				</div>
				<div class="list-group suredy-widget-panel-body" style="height: 200px;"></div>
			</div>

			<div class="panel panel-success suredy-widget-panel">
				<div class="panel-heading suredy-widget-panel-heading">
					<i class="icon-legal">
						<i>&nbsp;我的应用</i>
					</i>
				</div>
				<div class="list-group suredy-widget-panel-body" style="height: 200px;">
					<div class="suredy-tree department" data-uri="index_content/test-tree.do"></div>
				</div>
			</div>
		</div>
		<div class="col-md-4 right-content">
			<div class="panel panel-info suredy-widget-panel" data-uri="notice/index_list.do">
				<div class="panel-heading suredy-widget-panel-heading">
					<i class="icon-flag">
						<i>&nbsp;公告栏&nbsp;</i>
						<span class="badge suredy-widget-panel-count">0</span>
					</i>
					<a href="#" class="text-info pull-right icon-refresh suredy-widget-panel-refresh"></a>
				</div>
				<div class="list-group suredy-widget-panel-body" style="height: 200px;"></div>
			</div>

			<div class="panel panel-danger suredy-widget-panel">
				<div class="panel-heading suredy-widget-panel-heading">
					<i class="icon-calendar">
						<i>&nbsp;日历</i>
					</i>
				</div>
				<div class="list-group suredy-widget-panel-body" style="height: 200px;">
					<li class="list-group-item">
						<i class="icon-info-sign text-danger"></i>
						暂无日历
					</li>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="js/suredy-panel.js"></script>
<script src="js/suredy-tree.js"></script>
<script type="text/javascript">
<!--
	$('.suredy-tree').tree({
		checkbox : true,
		folderCheckbox : true,
		fileCheckbox : true,
		collapseAll : false,
		click : function() {
			console.log('click - ' + $.suredy.tree.data(this).text);
			$.suredy.tree.checked($('.suredy-tree')).each(function(index) {
				console.log('checkbox - ' + $.suredy.tree.data($(this)).text);
			});
		}
	});
//-->
</script>
